package com.example.JavaWebApi.service.systemService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.JavaWebApi.model.entity.systemEntity.Orginfo;

import java.util.List;

/**
*
* @ClassName: OrginfoService
* @Description: TODO(这里用一句话描述这个类的作用)
* @author 杨泽
* @date 2022-06-15
*/
public interface IOrginfoService  {
  List<Orginfo> getOrgTree();
  IPage<Orginfo> getLazyOrgList(Integer parentId, int page, int limit);
  boolean create(Orginfo orginfo);
  boolean update(Orginfo orginfo);
  boolean delete(Integer orgId);
 }